package com.zf.yichat.api.dto.request;

import com.zf.yichat.utils.YiChatMsgCode;
import org.hibernate.validator.internal.util.Contracts;

/**
 * 一句话描述功能
 *
 * @author fengsong
 * @date create in 14:03 2020/3/25 2020
 */
public class UserIntegralGetRequest extends FsRequest {

    //0签到  2分享到微信好友 3 分享到微信朋友前 4分享到qq好友 5分享qq空间
    private Integer type;
    private String referId;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getReferId() {
        return referId;
    }

    public void setReferId(String referId) {
        this.referId = referId;
    }

    @Override
    public void valid() {

        Contracts.assertNotNull(type, YiChatMsgCode.SYSTEM_PARAM_ERROR.msg());
    }
}
